from django.conf.urls import patterns, url
from article.views import ArticleDetailView, TagView

urlpatterns = patterns('',
                       url(r'^tag/(?P<tag>\w+)/$', TagView.as_view(), name='article_tag'),
                       url('^(?P<slug>\w+)/$', ArticleDetailView.as_view(),
                           name='article_detail'),
)